/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.mabi.rh.permisos;

import com.mabi.modular.admin.modules.ModuleDefinition;
import com.mabi.modular.runtime.module.contributions.actions.AbstractMabiAction;
import com.mabi.modular.runtime.module.contributions.views.View;
import com.vaadin.ui.Label;
import java.util.Arrays;
import java.util.List;
import javax.annotation.PostConstruct;
import javax.ejb.Stateless;

/**
 *
 * @author User
 */
@Stateless
public class AnySessionBean extends ModuleDefinition implements AnySessionBeanLocal {

    @Override
    public String aSampleMethod() {
        return "Hello people!";
    }

    @Override
    public List<AbstractMabiAction> getActions() {
        return null;
    }

    @Override
    public List<View> getViews() {
        View v = new View();
        v.setAutoLoad(true);
        v.setCaption("Lista de Permisos");
        v.addComponent(new Label("Esta es la lista de permisos"));
        return Arrays.asList(new View[]{v});
    }

    @Override
    public String getModuleName() {
        return "Tango y Cash";
    }
}
